//
//  MessageEntity.h
//  SXH
//
//  Created by 房 国生 on 15/8/27.
//  Copyright (c) 2015年 lyss. All rights reserved.
//

#import <Foundation/Foundation.h>

/*
 `sender_id` : '发送者ID',
 `receiver_id`:'接受者ID',
 `send_time`:'发送时间',
 `open_time` : '打开时间',
 `sender_name`:`发送者昵称`,
 `read_flag`:'0 未读   1已读',
 `message_type`: '1 系统消息  2站内消息',
 `message_text`: '消息内容',
 */
@interface MessageEntity : NSObject

@property (nonatomic, strong) NSString *sender_id;
@property (nonatomic, strong) NSString *receiver_id;
@property (nonatomic, strong) NSString *send_time;
@property (nonatomic, strong) NSString *open_time;
@property (nonatomic, strong) NSString *read_flag;
@property (nonatomic, strong) NSString *message_type;
@property (nonatomic, strong) NSString *message_type_title;
@property (nonatomic, strong) NSString *message_text;
@property (nonatomic, strong) NSString *message_title;
@property (nonatomic, strong) NSString *url;

- (instancetype)initWithAttributes:(NSDictionary *)attributes;

@end
